* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    height: 100vh;
    padding: 10px;
}

/* 新增表单容器样式，区分两个表单 */
.form-group {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}
.info-display {
    margin: 15px 0;
    padding: 10px;
    border-radius: 4px;
    z-index: 100;
    position: relative;
}

.form-container {
    height: calc(100vh / 8);
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
}

label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

input[type="date"],
input[type="text"],
select.hour-select {
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="date"] {
    width: 130px;
}

select.hour-select {
    width: 80px;
}

input[name="car_type"] {
    width: 200px;
}

input[type="submit"] {
    padding: 6px 16px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

input[type="submit"]:hover {
    background-color: #3367d6;
}

.divider {
    width: 100%;
    border-top: 1px dashed #999;
    margin: 5px 0;
}

.time-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    width: 100%;
    display: none;
}